<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
{eval $user=$this->user; $setting=$this->setting;}
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
<title>Manyou's Control Panel</title>
<meta http-equiv="Content-Type" content="text/html; charset={MY_CHARSET}">
<link media="all" type="text/css" href="css/common/admin/admincp.css" rel="stylesheet"/>
</head>

<body>

<div id="append">
</div>

<div class="container">

	<!--{if isset($message)}-->
		<!--{eval $type=isset($type)?$type:'correctmsg'; }-->
		<div class="{$type}"><p>{$message}</p></div>
	<!--{/if}-->
	
	<div class="note fixwidthdec">
		<p class="i">UCenter整合开启前，务必关闭通行证整合。</p>
	</div>
	<div class="mainbox nomargin">
		<form action="index.php?admin_setting/ucenter{$setting['seo_suffix']}" method="post">
			<table class="opt">
				<tr>
					<th colspan="2">UCenter整合:</th>
				</tr>
				<tr>
					<td>
					<input class="radio"  type="radio"  {if 1==$setting['ucenter_open'] }checked{/if}  value="1" name="ucenter_open" ><label for="yes">开启</label>
					<input class="radio"  type="radio"  {if 0==$setting['ucenter_open'] }checked{/if} value="0" name="ucenter_open" ><label for="no">关闭</label>
					</td>
					<td valign="top">关闭后设置还会保留。</td>
				</tr>
				<tr>
					<th colspan="2">UCenter的URL:</th>
				</tr>
				<tr>
					<td><input class="txt" value="{$setting['ucenter_url']}" name="ucenter_url" style="width:332px;"></td>
					<td>填写UCenter服务端的地址。</td>
				</tr>
				<tr>
					<th colspan="2">UCenter的IP:</th>
				</tr>
				<tr>
					<td><input class="txt" value="{$setting['ucenter_ip']}" name="ucenter_ip" style="width:332px;"></td>
					<td>一般不用填写，通信失败后可尝试填写。</td>
				</tr>
				<tr>
					<th colspan="2">UCenter的密码:</th>
				</tr>
				<tr>
					<td><input type="password" value="{$setting['ucenter_password']}" name="ucenter_password" style="width:332px;"></td>
					<td>UCenter的管理密码。</td>
				</tr>
				<tr>
					<th colspan="2">需要加入的事件:</th>
				</tr>
				<tr>
					<td>
						<input name="ucenter_ask" value="1" {if 1==$setting['ucenter_ask'] }checked{/if}  type="checkbox">提问
						<input name="ucenter_answer" value="1" {if 1==$setting['ucenter_answer'] }checked{/if}  type="checkbox">回答
					</td>
					<td>选择需要加入到事件的操作。</td>
				</tr>	
				</tbody>
			
			</table>
			<div class="opt"><input class="btn" tabindex="3" type="submit" value=" 提 交 " name="submit"></div>
		</form>
	</div>
</div>

</body>

</html>
